﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<List<ActivityGoods>>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Index</title>
</head>
<body>
    <div>
    <table class="data-table" width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
                                 <th scope="col">id</th>
                                <th scope="col">活动编号</th>
                                <th scope="col">物品</th>
                                <th scope="col">邮件标题</th>
                                <th scope="col">内容</th>
                                <th scope="col">日期</th>
                              </tr>
    <%foreach (var m in Model)
     {%>
        <tr>
        <td> <%=m.Id%> </td>
        <td> <%=m.ActionId%> </td>
        <td> <%=m.AllGoods%> </td>
        <td> <%=m.MailTitle%> </td>
        <td> <%=m.MailContent%> </td>
        <td> <%=m.CreateDate%> </td>
            </tr>        
        <%}%>   
    </div>
    </table>
</body>
</html>
